package com.mezz.bones.im.common.enums;

/**
 * @Author: zhuang
 * @Date: 2024/12/6 17:29
 * @Description: TODO
 * @Version: 1.0
 **/

public enum OnlineStatusEnum {
    ONLINE("ONLINE", "在线"),
    OFFLINE("OFFLINE", "离线");

    private final String code;
    private final String text;

    OnlineStatusEnum(String code, String text) {
        this.code = code;
        this.text = text;
    }

    public String getCode() {
        return code;
    }

    public String getText() {
        return text;
    }

}